﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WoWTCG
{
    public partial class MainForm : Form
    {
        private GameState _gs;

        public MainForm()
        {
            InitializeComponent();

            this._gs = new GameState();
        }

        private void pbPlayerDeck_MouseEnter(object sender, EventArgs e)
        {
            pbCardPreview.Image = Image.FromFile(@"images\cardback.jpg");
        }

        private void pbComputerDeck_MouseEnter(object sender, EventArgs e)
        {
            pbCardPreview.Image = Image.FromFile(@"images\cardback.jpg");
        }

        private void deckEditorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DeckEditor de = new DeckEditor(_gs.CardLibrary);
            de.ShowDialog();
        }
    }
}
